package org.jradweb.jradtest.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jradweb.core.controller.JMultiActionController;
import org.jradweb.jradtest.service.UserService;
import org.springframework.web.servlet.ModelAndView;


/**
 * UserController class .
 * 
 * Created on Wed Mar 26 15:04:33 CST 2008
 * @author Code Generator
 * @version $Id: UserController.java 93 2008-04-10 09:36:30Z wagzhi $
 */
public class UserController extends JMultiActionController{
	private static final Log log = LogFactory.getLog(UserController.class);
	
	private UserService userService;
	
	@Override
	public ModelAndView index(HttpServletRequest request,
			HttpServletResponse response) throws Exception {		
		Map<String,Object> params=new HashMap<String,Object>();
		return this.render(request,"index", params);
	}

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}
}